<?php
	echo $_GET["id"];
	$conn = mysql_connect("127.0.0.1:3307","root","");
	if ($conn) {
		mysql_select_db("hellophp", $conn);
		$sql = "delete from article where id=".$_GET["id"];
		// echo $sql;
		mysql_query($sql);
		mysql_close($conn);
		header('Location: list.php');
	}

?>